package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author luo
 * @since 2023-07-15
 */
@Data
@TableName(value = "sys_role")
public class Role  {

      /**
     * id
     */
      @TableId(value = "id",type = IdType.AUTO)
        private Integer id;

      /**
     * 名称
     */
      private String name;

      /**
     * 描述
     */
      private String description;

      /**
       * 唯一标识
       */
      private String flag;
}
